<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>  
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<header>
    <div class="header-top">
        <div class="width-center">
            <div class="header-logo "><img src="${company.logo }" alt=""></div>
            <div class="header-title div-inline">
                <strong>${company.name }</strong>
               <span><a href="http://localhost:8080/fearless/HomeServlet?req=home"style="text-decoration: none;color: blue;">${company.url }</a></span>
            </div>

            <div class="search-box div-inline">
            	<div style="float: left;"><a href="http://localhost:8080/fearless/admin/login.jsp" style="text-decoration: none;color: blue;">进入fearless后台管理</a></div>
                <div class="input-box"><input type="text" name="" placeholder="             请输入关键字"></div>
                <div class="search-botton"></div>
            </div>
        </div>
    </div>    
    <div class="header-nav">
        <button class="am-show-sm-only am-collapsed font f-btn" data-am-collapse="{target: '.header-nav'}">Menu <i
                class="am-icon-bars"></i></button>
        <nav>
        <ul class="header-nav-ul am-collapse am-in">
            <li class="on"><a href="HomeServlet?req=home" name="index">首页</a></li>
            <li><a href="AboutUsServlet?req=about" name="about">关于我们</a></li>
            <li><a href="ProductServlet?req=productAll&pid=0" name="show">产品展示</a></li>
            <li><a href="NewsServlet?req=newsAll&nid=0" name="new">新闻资讯</a></li>
            <li><a href="contact.jsp" name="message">联系我们</a>
                <div class="secondary-menu">

                    <ul><li><a href="message.jsp" class="message"></a></li></ul>
                </div>
            </li>
        </ul>



        </nav>
    </div>

</header>

<div class="am-slider am-slider-default" data-am-flexslider="{playAfterPaused: 8000}">
    <ul class="am-slides">
    	<c:forEach items="${bList }" var="banner">
        <li><img src="${banner.bannerImg }" alt="" ></li>
    	
    	</c:forEach>
    	
    </ul>
</div>

</body>
</html>